package com.hk.model;

/**
 * @Author: KangWang
 * Date: 2021/5/22 17:47
 * State：文件夹和文件，该类与数据库无关
 */
public class Document {

    private String projectName;//项目路径
    private String directory; //文件夹名称
    private String fileName; //文件名称
    private String split; //分隔符，以换行分隔

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getSplit() {
        return "\n";
    }

    public void setSplit(String split) {
        this.split = split;
    }

    public String getDirectory() {
        return directory;
    }

    public void setDirectory(String directory) {
        this.directory = directory;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public Document(String directory, String fileName) {
        this.directory = directory;
        this.fileName = fileName;
    }

    public Document(String projectName, String directory, String fileName) {
        this.projectName = projectName;
        this.directory = directory;
        this.fileName = fileName;
    }

    public Document() {

    }

    @Override
    public String toString() {
        return "Document{" +
                "projectName='" + projectName + '\'' +
                ", directory='" + directory + '\'' +
                ", fileName='" + fileName + '\'' +
                ", split='" + split + '\'' +
                '}';
    }
}
